/*
 * @Descripttion:
 * @LastEditors: xzh
 * @LastEditTime: 2023-11-10 10:26:10
 */
//t("page.dashboardManageArr.equipDashboardArr.equipAbnormalData")
//t("page.dashboardManageArr.equipDashboardArr.equipRepair")
//t("page.dashboardManageArr.equipDashboardArr.equipUpkeepRecord")
//t("page.dashboardManageArr.equipDashboardArr.equipUpkeepPlan")
/**
 * @Author: xzh
 * @Descripttion: 设备数据类型枚举
 * @Param:
 */
export enum equipDataTypeEnum {
  equipAbnormalData = "equipAbnormalData", //设备异常
  equipRepair = "equipRepair", //设备维修
  equipUpkeepRecord = "equipUpkeepRecord", //设备保养记录
  equipUpkeepPlan = "equipUpkeepPlan", //设备保养计划
}

//t('page.dashboardManageArr.equipDashboardArr.equipAbnormalSuffix')
//t('page.dashboardManageArr.moldDashboardArr.repairRecord')
//t('page.dashboardManageArr.moldDashboardArr.upkeepRecord')
//t('page.dashboardManageArr.moldDashboardArr.upkeepPlan')
/**
 * @Author: xzh
 * @Descripttion: 数据后缀
 * @Param:
 */
export let equipDatSuffixMap = {
  [equipDataTypeEnum.equipAbnormalData]:
    "page.dashboardManageArr.equipDashboardArr.equipAbnormalSuffix", //模次数据
  [equipDataTypeEnum.equipRepair]:
    "page.dashboardManageArr.moldDashboardArr.repairRecord", //维修记录
  [equipDataTypeEnum.equipUpkeepRecord]:
    "page.dashboardManageArr.moldDashboardArr.upkeepRecord", //保养记录
  [equipDataTypeEnum.equipUpkeepPlan]:
    "page.dashboardManageArr.moldDashboardArr.upkeepPlan", //保养计划
};
/**
 * @Author: xzh
 * @Descripttion: 设备类型对应数据key枚举
 * @Param:
 */
export let equipDataKeyMap = {
  [equipDataTypeEnum.equipAbnormalData]: "alarmData",
  [equipDataTypeEnum.equipRepair]: "equipmentRepairList",
  [equipDataTypeEnum.equipUpkeepRecord]: "equipmentRecordList",
  [equipDataTypeEnum.equipUpkeepPlan]: "equipmentPlanList",
};
